<template>
  <div class="dashboard-container">
    <div class="dashboard-text">name:</div>
    <page-tools :show-before="true">
      <!-- 定义插槽的填充内容 -->
      <template v-slot:before>
        <span>哈哈哈哈哈</span>
        <span>瓜子，花生，泡面，走过路过莫错过</span>
      </template>
      <template #after>
        <el-button type="primary">点击看美女</el-button>
      </template>
    </page-tools>
    <upload-excel />
    <!-- 图片上传组件的使用 -->
    <image-upload />
  </div>

</template>

<script>
// import PageTools from '@/components/PageTools/index.vue';
export default {
  name: 'Dashboard',
  // components: {
  //   PageTools,
  // },
};
</script>

<style lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}
</style>
